
<Placemark>

	<name><?php echo $this->params->name; ?></name>
	
	<?php if ($this->params->view_description != null): ?>
	<description>
	<![CDATA[
<?php $this->params->view_description->render(); ?>
	]]>
	</description>
	<?php endif; ?>
	
	<?php if ($this->params->icon != null): ?>
	<Icon>
		<href><?php echo $this->params->icon; ?></href>
	</Icon>
	<?php endif; ?>
	
	<?php if ($this->params->style != null): ?>
	<styleUrl><?php echo $this->params->style; ?></styleUrl>
	<?php endif; ?>
	
	<Point>
		<coordinates><?php echo $this->params->lng; ?>,<?php echo $this->params->lat; ?></coordinates>
	</Point>

</Placemark>

